<?php
/**
 * Created by PhpStorm.
 * User: wzy12
 * Date: 2018/10/19
 * Time: 11:36
 */

namespace app\admin\validate;


use think\Validate;

class ReturnGoods extends Validate
{
    protected $rule = [
        'status' => 'require|number',
        '__token__' => 'token|require'
    ];

    protected $message = [
        'refund_money.require'  =>  '请不要进行非法操作',
        'status.require'  =>  '请不要进行非法操作',
        'status.number'  =>  '请不要进行非法操作',
    ];

    protected $scene = [
        'form' => ['__token__', 'refund_money', 'status'],
        'del' => ['__token__']
    ];
}